import upload from '@/utils/upload'
import request from '@/utils/request'


//确认到店
export function makeAffirmArrival(data) {
	return request({
		url: '/work/makeAffirmArrival',
		method: 'post',
		data: data
	})
}

//获取预约详情
export function makeDetail(data) {
	return request({
		url: '/work/makeDetail',
		method: 'post',
		data: data
	})
}

export function makeCancelArrival(data) {
	return request({
		url: '/work/makeCancelArrival',
		method: 'get',
		params: data
	})
}
//更新预约
export function makeUpdate(data) {
	return request({
		url: '/work/makeUpdate',
		method: 'post',
		data: data
	})
}

//新增预约
export function makeAdd(data) {
	return request({
		url: '/work/makeAdd',
		method: 'post',
		data: data
	})
}